package com.wedistudio.offliner.search;

import java.net.URL;
import java.util.Calendar;

/**
 * Created with IntelliJ IDEA.
 * User: melouadi
 * Date: 14/03/13
 * Time: 17:14
 * To change this template use File | Settings | File Templates.
 */
public class ContentHeader {
    private Rate popularity;
    private Rate quality;
    private String source;
    private URL url;
    private String title;
    private String summary;
    private Author author;
    private URL thumbnail;
    private Calendar publicationDate;
    private ContentType type;

    public ContentHeader() {
    }

    public Rate getPopularity() {
        return popularity;
    }

    public void setPopularity(Rate popularity) {
        this.popularity = popularity;
    }

    public Rate getQuality() {
        return quality;
    }

    public void setQuality(Rate quality) {
        this.quality = quality;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public URL getUrl() {
        return url;
    }

    public void setUrl(URL url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public Author getAuthor() {
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }

    public URL getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(URL thumbnail) {
        this.thumbnail = thumbnail;
    }

    public Calendar getPublicationDate() {
        return publicationDate;
    }

    public void setPublicationDate(Calendar publicationDate) {
        this.publicationDate = publicationDate;
    }

    public ContentType getType() {
        return type;
    }

    public void setType(ContentType type) {
        this.type = type;
    }
}
